package com.tl.khadmin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tl.khadmin.bean.ProductImg;

public interface ProductImgMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProductImg record);

    int insertSelective(ProductImg record);

    ProductImg selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProductImg record);

    int updateByPrimaryKey(ProductImg record);

	List<ProductImg> queryByProductId(@Param("productId") Integer id, @Param("type") Integer type);
}